package com.xyl.services;

import com.xyl.entity.Activity;

import java.util.List;

public interface ActivityService {
    int add(Activity activity);

    List<Activity> getByUserId(Integer userId);

    int removeByAId(Integer id);

    int modify(Activity activity);

    List<Activity> filterByTypeAndYear(Integer userId,String type, Integer year);

    Integer sumScore(Integer userId);
}
